package com.frcdi.qms.equipment.domain;

import com.frcdi.qms.common.annotation.Excel;
import com.frcdi.qms.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备使用前提示信息对象 md_equipment_tip
 *
 * @author cell
 * @date 2023-10-10
 */
@ApiModel(value = "设备使用前提示信息对象")
public class EquipmentTip extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 提示id */
    private Long tipId;

    /** 设备类型id */
    @Excel(name = "设备类型id")
    private Long equipmentTypeId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 提示信息（描述） */
    @Excel(name = "提示信息", readConverterExp = "描述")
    private String description;

    /** 执行要求（0选择执行/1必须执行） */
    @Excel(name = "执行要求", readConverterExp = "0=选择执行/1必须执行")
    private String executionClaim;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setTipId(Long tipId)
    {
        this.tipId = tipId;
    }

    public Long getTipId()
    {
        return tipId;
    }
    public void setEquipmentTypeId(Long equipmentTypeId)
    {
        this.equipmentTypeId = equipmentTypeId;
    }

    public Long getEquipmentTypeId()
    {
        return equipmentTypeId;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setExecutionClaim(String executionClaim)
    {
        this.executionClaim = executionClaim;
    }

    public String getExecutionClaim()
    {
        return executionClaim;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("tipId", getTipId())
            .append("equipmentTypeId", getEquipmentTypeId())
            .append("sort", getSort())
            .append("description", getDescription())
            .append("executionClaim", getExecutionClaim())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
